@import './variable.less';
pre {
  white-space: pre-wrap;
}

.image-box {
  display: inline-block;
  height: 80px;
  width: auto;
  max-width: 300px;
}

.image-sm-box {
  display: inline-block;
  height: 30px;
  width: auto;
}

.avatar-box {
  display: inline-block;
  width: 35px; 
  height: 35px; 
  border-radius: 50%;
}

.content-box {
  display: inline-block;
  width: 400px;
  max-height: 200px;
  white-space: normal;
  overflow: auto;
}

.text-box {
  display: inline-block;
  width: 220px;
  max-height: 150px;
  white-space: normal;
  overflow: auto;
}

.upload-button {
  position: relative;
  input {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 2;
    opacity: 0;
  }
}

.ant-form-item {
  margin-bottom: 14px;
}

.ant-modal-footer {
  padding-top: 20px;
  padding-bottom: 20px;
  > div {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
  }
  button {
    padding: 0 30px;
  }
  button + button {
    margin-right: 20px;
  }
}

.member-execl-dialog {
  .ant-modal-body {
    padding: 0;
  }
  .ant-card-body {
    padding: 0;
  }
}

// 待统计的table页第一行高亮
.table-total {
  .ant-table-tbody tr {
    &:first-child {
      background-color: tint(@color-theme, 80%);
      font-weight: 600;
      .ant-checkbox-wrapper {
        display: none;
      }
    }
  }
}

.dblclick-heightlight {
  td {
    background-color: tint(@color-theme, 70%)!important;
  }
}

.ant-card-head-title {
  overflow: auto;
  overflow-y: hidden;
  overflow-x: scroll;
  &::-webkit-scrollbar {
    display: none;
  }
  // white-space: pre-wrap;

}

.ant-table-bordered  {
  .ant-table-tbody > tr > td {
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
  }
  .ant-table-tbody > tr:first-child td {
    border-top: 1px solid #aaa;
  }
  .ant-table-thead > tr > th {
    font-weight: bold;
    border-right: 1px solid #aaa;
    // border-bottom: 1px solid #aaa;
    border-top: 1px solid #aaa;
  }
  .ant-table-thead > tr:not(:last-child) > th {
    border-right: 1px solid #aaa;
    // border-bottom: 1px solid #aaa;
  }
}

// .ant-form-item-label > label::after {
//   content: '';
// }